/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.hycreate.platform.modules.crm.todaycustomer;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.hycreate.platform.common.persistence.Page;
import com.hycreate.platform.common.service.CrudService;

/**
 * 今日的客户Service
 * @author zzf
 * @version 2016-12-03
 */
@Service
@Transactional(readOnly = true)
public class TodayCalendarService extends CrudService<TodayCalendarDao, TodayCalendar> {

	public TodayCalendar get(String id) {
		return super.get(id);
	}
	
	public List<TodayCalendar> findList(TodayCalendar todayCalendar) {
		return super.findList(todayCalendar);
	}
	
	public Page<TodayCalendar> findPage(Page<TodayCalendar> page, TodayCalendar todayCalendar) {
		return super.findPage(page, todayCalendar);
	}
	
	@Transactional(readOnly = false)
	public void save(TodayCalendar todayCalendar) {
		super.save(todayCalendar);
	}
	
	@Transactional(readOnly = false)
	public void delete(TodayCalendar todayCalendar) {
		super.delete(todayCalendar);
	}
	@Transactional(readOnly = false)
	public  void updatestatus(TodayCalendar todayCalendar){
		dao.updatestatus( todayCalendar);
	}
	
}